import pytest

import flet as ft
import flet.testing as ftt


@pytest.mark.asyncio(loop_scope="module")
async def test_responsive_row_basic(flet_app: ftt.FletTestApp, request):
    await flet_app.assert_control_screenshot(
        request.node.name,
        ft.ResponsiveRow(
            controls=[
                ft.TextField(label="TextField 1"),
                ft.TextField(label="TextField 2"),
                ft.TextField(label="TextField 3"),
            ],
        ),
    )
